package com.mall.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @description: 支付查询参数
 * @author 勾新杰
 * @version 1.0
 * @date 2024/11/25 20:02
 */
@Data
@Schema(description = "支付查询参数")
public class PaymentPageQueryDTO {
    @Schema(description = "页码")
    private Integer pageNo = 1;
    @Schema(description = "每页数量")
    private Integer pageSize = 10;
    @Schema(description = "订单id")
    private Long orderId;
    @Schema(description = "用户id")
    private Long userId;
    @Schema(description = "最小支付金额")
    private Double minAmount;
    @Schema(description = "最大支付金额")
    private Double maxAmount;
    @Schema(description = "支付方式")
    private Integer paymentMethod;
    @Schema(description = "支付状态")
    private Integer status;
    @Schema(description = "开始支付时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String beginTime;
    @Schema(description = "结束支付时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String endTime;
}
